/*
 * RequestProcessException.java
 *
 * Created on April 28, 2007, 7:06 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package info.javatech.jmf.server.protocol;

import javax.xml.ws.WebFault;


/**
 *
 * @author afedotov
 */
@WebFault
public class PRequestProcessException extends Exception{
    
    public static int UNKNOWN_ERROR = 0;
    public static int UNPROPER_INPUT_PARAMETER = 1;
    
    private int errorCode;
    
    public PRequestProcessException(int errorCode)
    {
        errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
